import request from "../../utils/request.js"
const state = {
	cartList: [
		{
			num:1,
			isChecked:true,
			"gspid": 0,
			"gid": 142859,
			"cateid": 3555,
			"subject": "伯纳天纯Pure&Natural 添加羊肉燕麦蔓越莓中/大型成犬粮 15kg",
			"presubject": "伯纳天纯Pure&Natural 添加羊肉燕麦蔓越莓中/大型成犬粮 15kg",
			"formats": "",
			"formats_values": "",
			"photo": "https://img2.epetbar.com/nowater/showcase/2022/01/11/1428574606167720.jpg",
			"cover_img_for_notice": {
				"img_url": "",
				"img_size": ""
			},
			"sale_price": "359.00",
			"market_price": "569.00",
			"youhui_price": 0,
			"fm_shareid": 196041,
			"brandid": 775,
			"order": "",
			"replys": 95566,
			"asks": 721,
			"sold": "售出:1.82w",
			"unit": "袋",
			"stockmode": 2,
			"stock_now": 1472,
			"stock": 1472,
			"isBest": 0,
			"real_wid": 1,
			"virtual_wid": 1,
			"site": 0,
			"comments": "互动:(100%好评)",
			"dprice": "11.96元/斤",
			"country_photo": "",
			"with_me": "",
			"gtype_icon": {},
			"subject_tip": "",
			"goods_sign": 0,
			"goods_icon": "",
			"activityLabels": [],
			"activityIcons": [],
			"send_ware": "",
			"extend_pam": ""
		},
		{
			num:1,
			isChecked:false,
			"gspid": 0,
			"gid": 805805,
			"cateid": 3555,
			"subject": "醇粹Purich 黑标生鲜系列 无谷冻干中小型犬粮 500g",
			"presubject": "醇粹Purich 黑标生鲜系列 无谷冻干中小型犬粮 500g",
			"formats": "",
			"formats_values": "",
			"photo": "https://img2.epetbar.com/nowater/showcase/2021/12/30/1535235156258891.jpg",
			"cover_img_for_notice": {
				"img_url": "",
				"img_size": ""
			},
			"sale_price": "9.90",
			"market_price": "39.00",
			"youhui_price": 0,
			"fm_shareid": 241022,
			"brandid": 480,
			"order": "",
			"replys": 0,
			"asks": 0,
			"sold": "售出:1.17w",
			"unit": "袋",
			"stockmode": 2,
			"stock_now": 1245,
			"stock": 1245,
			"isBest": 0,
			"real_wid": 1,
			"virtual_wid": 1,
			"site": 0,
			"comments": "互动:(100%好评)",
			"dprice": "9.90元/斤",
			"country_photo": "",
			"with_me": "",
			"gtype_icon": {},
			"subject_tip": "",
			"goods_sign": 0,
			"goods_icon": "",
			"activityLabels": [],
			"activityIcons": [],
			"send_ware": "",
			"extend_pam": ""
		},
		
	]
}
const mutations = {}
const actions = {}
const getters = {
	cartList(state){
		return state.cartList || []
	},
}

export default {
	state,
	mutations,
	actions,
	getters
}